package com.freeLearning.boot.course.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.freeLearning.boot.course.model.VO.CourseChaptersSortVO;
import com.freeLearning.boot.course.model.entity.CourseChapters;
import com.freeLearning.boot.course.model.query.CourseChaptersPageQuery;

import java.util.List;

public interface CourseChaptersService extends IService<CourseChapters> {
    IPage<CourseChapters> pageQuery(CourseChaptersPageQuery courseChaptersPageQuery);

    boolean sortChapters(List<CourseChaptersSortVO> courseChaptersSortVOS);
}
